﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Entidades;
using Excepciones;
using Negocio;
using DAO;

namespace LisBioGUIWPF.Controls.Reportes
{
    /// <summary>
    /// Lógica de interacción para ReportesData.xaml
    /// </summary>
    public partial class ReportesData : UserControl
    {

        private LisBio lisBio;

        public enum Operacion
        {
            MAILS
        }

        private Operacion operacion;
        private ReportesControl control;

        public ReportesData(LisBio lisBio, Operacion operacion, ReportesControl control)
        {
            InitializeComponent();
            this.lisBio = lisBio;
            this.operacion = operacion;
            this.control = control;

            switch (operacion)
            {
                case Operacion.MAILS:
                    this.ocultarTabs();
                    this.tabMails.Visibility = Visibility.Visible; break;
            }

        }

        private void ocultarTabs()
        {
            this.tabMails.Visibility = Visibility.Hidden;
        }
    }
}
